package com.pets.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 打分表
 * </p>
 *
 * @author 啦啦啦
 * @since 2024-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("scoring")
@ApiModel(value="Scoring对象", description="打分表")
public class Scoring implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "打分id")
    @TableId(value = "scoring_id", type = IdType.AUTO)
    private Integer scoringId;

    @ApiModelProperty(value = "打分文件id")
    private Integer fileId;

    @ApiModelProperty(value = "打分用户id")
    private Integer userId;

    @ApiModelProperty(value = "分数")
    private Double fraction;


}
